package com.larry.design.creatation.prototype;

import org.junit.Test;

/**
 * @author larry
 * @Title: design-frame
 * @Package com.larry.design.creatation.prototype
 * @Description: TODO
 * @date 8/31/2112:26 PM
 */
public class ProtoTypeTest {

    @Test
    public void test() throws Exception {
        FindUser findUser = new FindUser();

        User zs = findUser.getUser("zs");
        System.out.println(zs);

        zs.setUsername("ls");
        User zs2 = findUser.getUser("zs");
        System.out.println(zs2);

        User zs3 = findUser.getUser("zs");
        System.out.println(zs3);

        User zs4 = findUser.getUser("zs");
        System.out.println(zs4);

    }
}
